package demo02;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Test01 {
    public static void main(String[] args) {
        Map<String, String> map = new HashMap<>();
        map.put("HanserOne", "五未");
        map.put("HanserTwo", "六未");
        map.put("HanserThree", "七未");
        map.put("HanserFour", "八未");
        map.put("HanserFive", "九未");
        map.put("HanserSix", "十未");
        Set<Map.Entry<String, String>> entrySet = map.entrySet();
        for (Map.Entry<String, String> entry : entrySet) {
            System.out.println(entry.getKey() + " : " + entry.getValue());
        }
    }
}
